<?php
if(!defined('ADMINPX') || !defined('ADMIN')) {
	exit('Access Denied');
}
$sj=$db->num_rows('user'," `mobile_d` ='2' ",'uid');
$qq=$db->num_rows('user'," `qq_d` ='2' ",'uid');
$yx=$db->num_rows('user'," `email_d` ='2' ",'uid');
$rzts=$sj+$qq+$yx;
$tixts=$db->num_rows('user_renminbi'," `type` ='3' and `renminbi_ztsz` ='2'  ",'uid');
$zhbdts=$db->num_rows('user_renminbi_zh'," `type` ='0' ",'uid');
$ly_count=$db->num_rows('ly'," `type` ='0' ",'uid');
if($admin_uid == '1000'){
	 $tsname='创始人';
}else{	 
	 $tsname='系统管理员';
}
echo '
<div class="admin_a">
欢迎你！'.$admin_name.'(<font color="#000000">'.$tsname.'</font>)
<a href="admin.php?action=wzgj&amp;act=sid">退出后台</a>
</div>
<div class="admin_a">
[<font color="#339900">通知</font>]
<a href="admin.php?action=user_renzheng">认证(<font color="#FF0000">'.$rzts.'</font>)</a>
<a href="admin.php?action=user_renminbi&act=tix">提现(<font color="#FF0000">'.$tixts.'</font>)</a>
<a href="admin.php?action=user_renminbi&act=zhao">绑定(<font color="#FF0000">'.$zhbdts.'</font>)</a>
<a href="admin.php?action=ly">留言(<font color="#FF0000">'.$ly_count.'</font>)</a><br/>
</div>
';
?>
<div class="admin"><b>网站配置</b></div>
    <div class="admin_a">
	     <a href="admin.php?action=setting&amp;act=Site">站点设置</a> ◆
	     <a href="admin.php?action=setting&amp;act=system">系统配置</a>
    </div>
    <div class="admin_a">
       <a href="admin.php?action=setting&amp;act=upload">上传配置</a> ◆
       <a href="admin.php?action=setting&amp;act=renminbi">支付配置</a>
    </div>
    <div class="admin_a">
       <a href="admin.php?action=email">邮件配置</a> ◆
       <a href="admin.php?action=sms">短信配置</a>
    </div>
    <div class="admin_a">
       <a href="admin.php?action=templates">模板管理</a> ◆
       <a href="admin.php?action=design">首页排版</a>
    </div>
    <div class="admin_a">
      <a href="admin.php?action=plugin">应用管理</a> ◆
       <a href="admin.php?action=ly">留言管理</a>
    </div>
    <div class="admin_a">
      <a href="admin.php?action=url">域名绑定</a> ◆
      <a href="admin.php?action=link">友链管理</a>
    </div>


<div class="admin"><b>论坛中心</b></div>
    <div class="admin_a">
       <a href="admin.php?action=forum_config">功能配置</a> ◆
       <a href="admin.php?action=forum">论坛管理</a><br/>
    </div>
    <div class="admin_a">
       <a href="admin.php?action=forum_admin">版主管理</a> ◆
       <a href="admin.php?action=forum_admin&act=hbtz">论坛合并</a><br/>
    </div>
    <div class="admin_a">
       <a href="admin.php?action=forum_tz">帖子管理</a> ◆
       <a href="admin.php?action=forum_hs">帖子回收</a><br/>
    </div>


<div class="admin"><b>会员中心</b></div>
    <div class="admin_a">
       <a href="admin.php?action=user_config">功能配置</a> ◆
       <a href="admin.php?action=user">用户管理</a>
    </div>
    <div class="admin_a">
       <a href="admin.php?action=user_xx">信息管理</a> ◆
       <a href="admin.php?action=user_renminbi">金额管理</a>
    </div>
    <div class="admin_a">
       <a href="admin.php?action=user_renzheng">认证管理</a> ◆
       <a href="admin.php?action=user_jifenqx">权限管理</a>
    </div>
    
    
<div class="admin"><b>站长工具</b></div>
    <div class="admin_a">
        <a href="admin.php?action=wzgj&amp;act=ubb">ubb 帮助</a> ◆
        <a href="admin.php?action=wzgj&amp;act=dl">登陆记录</a><br/>
    </div>
    <div class="admin_a">
        <a href="admin.php?action=wzgj&amp;act=sql_back">数据备份</a> ◆
        <a href="admin.php?action=wzgj&amp;act=sql_reback">恢复数据</a><br/>
    </div>
    <div class="admin_a">
        <a href="admin.php?action=wzgj&amp;act=online">流量统计</a> ◆
        <a href="admin.php?action=wzgj&amp;act=cache">清空缓存</a><br/>
    </div>
    <div class="admin_a">
        <a href="admin.php?action=wzgj&amp;act=renminbi">资金核对</a> ◆
        <a href="admin.php?action=upload">系统升级</a><br/>
    </div>
    <div class="admin_a">
        <a href="admin.php?action=Bingz">槟榔助手</a> ◆
        <a href="admin.php?action=Bingz&amp;act=dongtai">槟榔动态</a><br/>
    </div>
    <div class="admin_a">
        <a href="admin.php?action=php">系统信息</a> ◆
        <a href="admin.php?action=wzgj&amp;act=yuanma">源码查看</a><br/>
    </div>